﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test3.aspx.cs" Inherits="test3" %>

<%@ Register TagPrefix="UserControl" TagName="CallContacts" Src="~/UserControl/CallContacts.ascx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
        language="javascript" charset="gb2312"></script>

    <%--<script type="text/javascript" src="js/jquery.min.js" />--%>
</head>
<body style="font-size:12px">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="Scriptmanager1" runat="server" EnableScriptGlobalization="true"
        EnableScriptLocalization="true">
    </asp:ScriptManager>
    <input type="button" id="btnOpen" value="Open" name="test" />
    <input type="button" id="btnClose" value="Close" name="test" />
    <div id="stats" style="width: 300px; float: left">
    </div>
    <div id="right" style="float: right">
    </div>
    <div id="div_userControl" style="display: none">
        <UserControl:CallContacts ID="mybott" runat="Server" />
    </div>
    </form>

    <script type="text/javascript">
        $(function() {
            $("#btnOpen").click(function() {
                $('#div_userControl').css('display', 'block');
            });
            $("#btnClose").click(function() {
                $('#div_userControl').css('display', 'none');
            });
        });
    </script>

</body>
</html>
